package com.ruoyi.web.pgci.vo;

import com.ruoyi.web.pgci.domain.PgciCourses;
import com.ruoyi.web.pgci.domain.PgciSailors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author yyq
 * @create 2023-11-18
 * @description
 */
@ApiModel(value = "StatisticalSummary", description = "统计头部那块信息")
@Data
public class StatisticalSummary {

    /**
     * 完成率
     */
    @ApiModelProperty("完成率 Rate of completion")
    private double completionRate = 0d;

    /**
     * 完成强制课程的人数
     */
    @ApiModelProperty("完成强制课程的人数 对应General training")
    private int totalSailorCompletion;

    /**
     * 登船总人数
     */
    @ApiModelProperty("登船总人数，对应 Attendance")
    private int totalSailorsOnboard;

    @ApiModelProperty("登船的船员详细信息 (totalSailorsOnboard点击弹出这个详情)")
    private List<PgciSailors> onboardSailors;

    @ApiModelProperty("完成课程的船员详细信息(totalSailorCompletion点击弹出这个详情)")
    private List<PgciSailors> completionSailors;

    public double getCompletionRate() {
        return completionRate;
    }

    public void setCompletionRate(double completionRate) {
        this.completionRate = completionRate;
    }

    public int getTotalSailorCompletion() {
        return totalSailorCompletion;
    }

    public void setTotalSailorCompletion(int totalSailorCompletion) {
        this.totalSailorCompletion = totalSailorCompletion;
    }

    public int getTotalSailorsOnboard() {
        return totalSailorsOnboard;
    }

    public void setTotalSailorsOnboard(int totalSailorsOnboard) {
        this.totalSailorsOnboard = totalSailorsOnboard;
    }

    public List<PgciSailors> getOnboardSailors() {
        return onboardSailors;
    }

    public void setOnboardSailors(List<PgciSailors> onboardSailors) {
        this.onboardSailors = onboardSailors;
    }

    public List<PgciSailors> getCompletionSailors() {
        return completionSailors;
    }

    public void setCompletionSailors(List<PgciSailors> completionSailors) {
        this.completionSailors = completionSailors;
    }
}
